--[[ LocoBidder_GUI 0.0
Nothing here yet :(
]]

local LocoBidder_GUI_CurrentInterval = 0

function LocoBidder_GUI_OnLoad()
	--[[
    this:RegisterEvent("CHAT_MSG_WHISPER"); -- to listen for bids in whisper
    this:RegisterEvent("CHAT_MSG_SYSTEM"); -- to listen for rolls
    this:RegisterEvent("CHAT_MSG_RAID"); -- to listen for "pass" messages in raid chat
    this:RegisterEvent("LOOT_OPENED"); -- to link all items in raid chat when loot window is opened
    this:RegisterEvent("VARIABLES_LOADED"); -- to get configuration from SavedVariables
    this:RegisterEvent("RAID_ROSTER_UPDATE"); -- fired when players join or leave the raid
    SLASH_LOCOBIDDER1 = "/locobidder";
    SLASH_LOCOBIDDER2 = "/loco";
    SlashCmdList["LOCOBIDDER"] = LocoBidder_SlashHandler;
	]]
end

function LocoBidder_GUI_OnEvent()
	--[[
	if (event == "CHAT_MSG_WHISPER") then
        text = LocoBidder_trim(string.lower(arg1))
        player = arg2
	end
	]]
end

function LocoBidder_GUI_OnUpdate()
	--[[
	LocoBidder_GUI_CurrentInterval = LocoBidder_GUI_CurrentInterval + 1;
	if (LocoBidder_GUI_CurrentInterval > LocoBidder_Config["UpdateInterval"]) then
		LocoBidder_GUI_CurrentInterval = 0;
		-- do stuff
	end
	]]
end
